import http from '@/api/http.js'


//登录
export  function getTheLongin(params){
  return  http.post("/user/login", params)
}

//注册
export  function getLongin(params){
  return  http.post("/user/reg",params)
}

//发送验证码
export  function getverCode(params){
  return  http.post("/user/sendSms",params)
}

// 获取用户信息
export  function getUserInfo(params){
  return  http.post("/user/getuserInfo",params)
}

//忘记密码
export function getForpassword(params){
  return http.post('/user/forget',params)
}

//修改密码
export function getUpDatapwd(params){
  return http.post('/user/updatePwd',params)
}